/**
 * 本地路由
 * @description 最基础的本地路由，仅供项目最基础运行时使用，不建议修改；静态路由可前往staticRoutes中配置
 */
export const localRoutes = [
  {
    path: '',
    redirect: '/index',
  },
  // login 登录
  {
    path: '/login',
    component: () => import('@/views/login.vue'),
  },
  // 404 错误页
  {
    path: '/:pathMatch(.*)*',
    component: () => import('@/views/error/404.vue'),
  },
  // 401 错误页
  {
    path: '/401',
    component: () => import('@/views/error/401.vue'),
  },
  // layouts 布局
  {
    path: '/layouts',
    name: 'layouts',
    component: () => import('@/layouts/index.vue'),
    redirect: '/index',
    children: [],
  },
]
